<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="subtitle">
  <h3>编辑信息</h3>
</div>
<s:form action="BaseShareAreaInfo!save.action" method="post" name="form">
  <s:token />
  <input type="hidden" name="model.id" value="<s:property value='model.id'/>"/>
  <input type="hidden" name="model.base_price" value="<s:property value='model.base_price'/>"/>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
    <tr>
      <th width="16%" align="right"><font color="red">*</font>分摊域名称：</th>
      <td width="84%"><input name="model.area_name" type="text" class="webinput" size="25" dataType="Require" msg="请填写" value="<s:property value='model.area_name'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>分摊域状态：</th>
      <td width="84%">
      <select name="model.area_state" dataType="Require" msg="请填写选择">
     		<option value="">请选择</option>
     		<option value="1" <s:if test="model.area_state==1">selected="selected"</s:if>>未开工</option>
     		<option value="2" <s:if test="model.area_state==2">selected="selected"</s:if>>施工</option>
     		<option value="3" <s:if test="model.area_state==3">selected="selected"</s:if>>调试</option>
     		<option value="4" <s:if test="model.area_state==4">selected="selected"</s:if>>服务</option>
     		<option value="5" <s:if test="model.area_state==5">selected="selected"</s:if>>自管</option>
	 </select>      
	 </td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>所属项目：</th>
      <td width="84%">
      	<select name="model.proj_id" dataType="Require" msg="请填写选择">
      		<option value="">--==请选择==--</option>
      		<s:iterator value="projList" var="cur">
      			 <option value="<s:property value="#cur.ID"/>" <s:if test="model.proj_id==#cur.ID">selected="selected"</s:if>><s:property value="#cur.PROJ_NAME"/></option>
      		</s:iterator>
      	</select>
      </td>
    </tr>
     <tr>
      <th width="16%" align="right"><font color="red">*</font>二步制比例：</th>
      <td width="84%"><input name="model.two_percent" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字正确填写" value="<s:property value='model.two_percent'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>计量收费计量热价：</th>
      <td width="84%"><input name="model.cal_price" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字正确填写" value="<s:property value='model.cal_price'/>"/>
      <select name="model.cal_unit" dataType="Required" msg="请选择">
      		<option value="2" <s:if test="model.cal_unit==2">selected="selected"</s:if>>元/MWh</option>
      		<option value="1" <s:if test="model.cal_unit==1">selected="selected"</s:if>>元/kWh</option>
      		<option value="3" <s:if test="model.cal_unit==3">selected="selected"</s:if>>元/Gj</option>
		</select>
      </td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>按面积收费热价：</th>
      <td width="84%"><input name="model.area_price" type="text" class="webinput" dataType="Ftdfnum" msg="请用数字正确填写" size="25" value="<s:property value='model.area_price'/>"/>元/㎡</td>
    </tr>
    <tr>
      <th width="16%" align="right">备注信息：</th>
      <td width="84%"><textarea id="textarea" name="model.demo" cols="60" rows="8"><s:property value='model.demo'/></textarea></td>
    </tr>
    <tr>
      <th>&nbsp;</th>
      <td><input type="submit" class="websub" value="提 交" />
        <input type="button" class="websub" onclick="history.back();" value="返 回" /></td>
    </tr>
  </table>
</s:form>
<script src='/commons/scripts/validator.js'></script> 
<script type="text/javascript">
$j(document).ready(function(){
	form.onsubmit = function () {
		return Validator.Validate(this, 3);
	}
});
</script>
</body>
</html>
